<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script language="javascript">
    window.onload=function() {
        document.forms[0].reset();
        placeFocus();
    }
    function placeFocus() {
        document.forms[0].elements[0].focus();
        // assuming the first element
    }
</script>
</body>
</html>